//logs.js
var util = require('../../utils/util.js')
Page({
  data: {
      homedataDategory:null,
      homedata:null
  },
  onLoad: function () {
   var that = this;
   wx.getStorage({
       key: 'homedataDategory',
     success: function(res) {
      console.log(res.data)
      that.setData({
          homedataDategory:res.data
      });
    } 
   });
   wx.getStorage({
       key: 'homedata',
       success: function (res) {
           console.log(res.data)
           that.setData({
               homedata: res.data
           });
       }
   });

  },
  onShow: function() {
    // console.log(this.data)
  },
  onShareAppMessage: function(){
        return {
            title: 'Cotte',
            desc: '酷特智能'
        }
  }
})